package com.jic.member.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: MJ
 * @date: 2020-01-09
 * @remark:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MemberResponse {
    //ID
    private long id;
    //用户名
    private String username;
    //昵称
    private String nickname;
    //手机
    private String mobile;
    //密码
    private String password;
    //真实姓名
    private String identityCardName;
    //邮箱
    private String email;
    //备注
    private String remarks;
    //性别
    private Integer sex;
    //头像url
    private String headPicUrl;
    //出生日期
    private Date birthDate;
    //会员等级id
    private long gradeId;
    //会员等级名称
    private String levelName;
    //会员等级类型名称
    private String memberTypeName;
    //会员积分
    private BigDecimal integration;
    //冻结积分
    private BigDecimal freezeIntegral;
    //冻结金额
    private BigDecimal frozen;
    //会员余额
    private BigDecimal remainder;
    //是否可用，0-不可用，1可用
    private Integer isAvailable;
    //
    private long parentId;
    //状态：0：正常使用；1：已注销；
    private Integer status;
    //状态：0：正常使用；1：已注销；
    private String statusVal;
    //省份
    private String userProvince;
    //市
    private String userCity;
    //区域
    private String userRegion;
    //用户地址
    private String userAddress;
    //邮编
    private String postCode;
    //是否实名认证：默认0未认证，1认证
    private Integer isCertification;
    //生日被修改的次数
    private Integer birthdayUpdateCount;
    //数据来源： 0注册会员 1手工录入
    private Integer source;
    //前端盐值
    private String fSalt;
    //前端salt值更新时间
    private Date fSaltUpdateTime;
    //注册平台id
    private long platformId;
    //平台组id
    private long platformGroupId;
    //备注
    private String remark;
    //外部id
    private long exterId;
    //手机号区号
    private String dialCode;
    //运营方ID
    private long deptid;
    //创建日期
    private Date createTime;

    //短信验证码
    private String code;
    //分销员类型 0-普通会员 1-分销员，2-分销代理
    private  Integer allocationStatus;
    //上级分销代理ID
    private  long allocationPid;
    //佣金总额
    private  BigDecimal totalCommission;
    //总业绩
    private  BigDecimal totalPerformance;


}
